<div class="row" style="border-bottom: 10px solid #EFEFEF;padding:10px;">
	<div class="col-lg-5">
		<div class="ukefu-measure">
			<div	class="layui-icon ukewo-btn ukefu-content-ind" style="height:40px;width:40px;"><img src="/images/meta1.jpg" style="width:40px;height:40px;"></div>
			<div class="ukefu-bt-text">
				<div class="ukefu-bt-text-title"
					style="font-weight:400;font-size:24px;line-height:30px;">
						<#if table?? && table.name??>${table.name!''}（${table.tablename!''}）<#else>元数据</#if>
				</div>
			</div>
		</div>
	</div>
	<div class="col-lg-7">
		<div class="ukefu-measure">
			<div class="ukefu-bt" style="text-align: right;height: 30px;"> 
				<h3 class="box-title">
					<span style="float: right;">
						<#if subtype == 'metadata' && typename == "structure">
							<button class="layui-btn layui-btn-sm green" href="javascript:void(0)" data-toggle="ajax" data-width="550" data-title="批量修改"  id="batedit">
								批量修改
							</button>
							<a class="layui-btn layui-btn-sm layui-btn-danger" href="javascript:void(0)" id="batdel" data-toggle="tip" data-title="请确认是否删除勾选的字段？">
								批量删除
							</a>
							<a class="layui-btn layui-btn-sm layui-btn-danger" href="/admin/metadata/sync.html?id=${table.id!''}&tabletype=${tabletype!''}&type=structure" id="batsync" data-toggle="tip" data-title="同步${table.name!''}数据表结构，请确认是否继续操作”？">
								同步结构
							</a>
							<#if table?? && table.fromdb && table.listblocktemplet??>
							<a class="layui-btn layui-btn-sm layui-btn-danger" href="/admin/metadata/clean.html?id=${table.id!''}&tabletype=${tabletype!''}&type=structure" id="batdel" data-toggle="tip" data-title="清空${table.name!''}存储在ES数据表里的所有数据，请确认是否继续操作”？">
								清空ES数据
							</a>
							<a class="layui-btn layui-btn-sm layui-btn-danger" href="/admin/metadata/synctoes.html?id=${table.id!''}&tabletype=${tabletype!''}&type=structure" id="batdel" data-toggle="tip" data-title="同步${table.name!''}数据库表到ES表，请确认是否继续操作”？">
								同步数据库表到ES表
							</a>
							<a class="layui-btn layui-btn-sm layui-btn-danger" href="/admin/metadata/synctodb.html?id=${table.id!''}&tabletype=${tabletype!''}&type=structure" id="batdel" data-toggle="tip" data-title="同步${table.name!''}的ES表到数据库表，请确认是否继续操作”？">
								同步ES表到数据库表
							</a>
							</#if>
						</#if>
					</span>
				</h3>
			</div>
		</div>
	</div>
</div>

<div class="ukefu-tab-title" style="margin-left: 0px;">
	<ul class="tab-title">
		<li <#if subtype == 'metadata' && typename == "structure">class="layui-this"</#if>><a href="/admin/metadata/table.html?tabletype=${tabletype!''}&type=structure&id=${table.id!''}">数据结构</a></li>
		<li <#if subtype == 'metadata' && typename == "data">class="layui-this"</#if>><a href="/admin/metadata/table/data.html?tabletype=${tabletype!''}&type=data&id=${table.id!''}">表数据</a></li>
	</ul>
</div>